home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga CD-ROM Collection
/
Amiga CD-ROM Collection - Auge 4000 and Cactus and Demo Util.iso
/
auge4000
/
46
/
doc
/
dcpp.doc
< prev
next >
Wrap
Text File
|
1990-06-20
|
2KB
|
68 lines
DCPP.DOC
C PREPROCESSOR
Matthew Dillon
891 Regal Rd.
Berkeley, Ca. 94708
USA
uunet.uu.net!overload!dillon
dcpp sourcefile [-o outfile] [-I includedir ...] <options>
DCPP automatically scans dinclude: and dinclude:amiga/ . Any -I option
directories are searched in sequence BEFORE dinclude: or dinclude:amiga.
Directories specified with -I need not contain a trailing slash.
As with all DCC commands, the space between the option and the file
arguments for -o and -I is optional.
DCpp probably does not implement everything perfectly and might fail on
some constructions.
Dcc normally runs Cpp before dc1.
CPP.DOC
The following symbols are defined by default
mc68000 -running on a 68000
_DCC -'DCC' compiler
Options to CPP
-1.N
This option selects the OS. If not specified, CPP searches
dinclude:amiga for amiga includes. If specified, CPP searches
dinclude:amiga1N for amiga includes instead.
DCC supports this option and passes it along to cpp. This allows
developers to compile under either 1.3 or 1.4 (or whatever) with
the flick of an option. DCC also uses a different amiga.lib
(see DCC docs)
-d[#]
This option turns on CPP debugging
-o[ ]file
This option sets the output file, otherwise stdout is used.
-D[ ]define[=stuff]
This option predefines a symbol
-I0
This option causes CPP *NOT* to include any default
directories in the include search list.
-I[ ]dir
This option adds the specified directory to the include
search list. A hanging slash on the end is not required.